package com.foxitcloud.webpdf.common;

import java.io.Serializable;

/**
 * @author shaojie zhuo
 * watermark information class
 */
public class WatermarkInfo implements Serializable {
	
	private static final long serialVersionUID = -4757631359726927633L;
	public static final int WMK_CENTER = 1;
	public static final int WMK_RIGHTBOTTOM = 2;
	
     /**
     * Whether to add a watermark
     */
    public boolean addWaterMark;  

     /**
     * Watermark content
     */
    public String waterMarkContent;  

     /**
     * font size
     */
    public int waterMarkFontSize;   

     /**
     * Rotation
     */
    public int waterMarkRotation;  

     /**
     * Color(ARGB)
     */
    public  long waterMarkColor;  

     /**
     * Font name
     */
    public String waterMarkFontName; 

     /**
     * scale
     */
    public float watermarkScale; 
     
    /**
     * Charset of watermark font, only used on Linux.
     */
    public int waterMarkFontCharset = 0;
    
    /**
     * Fill text or stroke text.
     */
    public boolean isFillText = true;  
    
    public int watermarkCenterPos = WMK_CENTER;
}
